<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	template="/layout/page/form/page-fieldset-template.xhtml">

	<ui:param name="pageViewBean" value="#{commonContentViewBean}" />
	<ui:param name="pvb" value="#{commonContentViewBean.parent}" />
	<ui:param name="pvb_user" value="#{commonContentViewBean.parent}" />
	<ui:param name="compId" value="#{pageViewBean.id}" />
	<ui:param name="compTitle" value="分配角色" />
	
	<ui:define name="compContent">
		<ui:include src="/service/func/setting/system/org/privileges.xhtml" />
	</ui:define>
	
	<ui:define name="compButtons">
		<p:commandButton
			actionListener="#{orgAction.addOrEditUser}" title="保存"
			oncomplete="#{commonContentViewBean.id}_dialog.hide();"
			image="./img/icons/add.png" value="保存" style="margin:5px;"
			update="#{pvb.id}_left_form,#{pvb.id}_right_main">
			<h:inputHidden value="#{pageViewBean.id}" />
		</p:commandButton>
		
		 <p:commandButton title="关闭" type="button"
			onclick="#{commonContentViewBean.id}_dialog.hide();"
			image="./img/icons/cancel.png" value="关闭" style="margin:5px;">
		</p:commandButton>
	</ui:define>
</ui:composition>